<tagLib name='html'/>
<div class='pageHeader'>
    <form action='__URL__' method='post' id='pagerForm' onsubmit='return navTabSearch(this);'>
        <div class='searchBar'>
            <ul>
                <li><label>员工ID</label> <input type='text' name='staff_id' value='{$int_staff_id}' /></li>
                <li><label>员工姓名</label> <input type='text' name='staff_name' value='{$str_staff_name}' /></li>
                <li><label>单位名称</label> <input type='text' name='company_name' value='{$str_company_name}' /></li>
                <li><label>备注</label> <input type='text' name='remark' value='{$str_remark}' /></li>
                <li><label>状态</label> <html:select options='arr_status' selected='int_status' first='{$str_select_first_txt}' name='status' style='combox' /></li>
            </ul>
            
            <include file='$str_search_bar_html' />
        </div>
        
        <include file='$str_page_search_html' />
    </form>
</div>

<div class='pageContent'>
    <div class='panelBar'>
        <ul class='toolBar'>
            <li><a href='__URL__/add' target='dialog' width='650' height='350' class='add' rel='add'><span>添加</span></a></li>
            <li><a href='__URL__/edit?id={id}' target='dialog' width='650' height='350' class='edit' rel='edit'><span>修改</span></a></li>
            <li class='line'>line</li>
        </ul>
    </div>
    <table class='table' width='100%' layoutH='138'>
        <thead>
            <tr>
                <th width='80'>ID</th>
                <th width='80'>员工ID</th>
                <th width='100'>员工姓名</th>
                <th width='100'>开始时间</th>
                <th width='100'>结束时间</th>
                <th width='300'>单位名称</th>
                <th width='200'>备注</th>
                <th width='50'>操作者</th>
                <th width='50'>状态</th>
                <th width='100'>创建时间</th>
                <th width='100'>更新时间</th>
            </tr>
        </thead>
        <tbody>
            <foreach name='arr_info' item='sub'>
            <tr target='id' rel='{$sub.id}'>
                <td>{$sub.id}</td>
                <td>{$sub.staff_id}</td>
                <td>{$sub.DataStaffBasic.staff_name}</td>
                <td>{$sub.start_time|get_date}</td>
                <td>{$sub.end_time|get_date}</td>
                <td>{$sub.company_name}</td>
                <td>{$sub.remark}</td>
                <td>{$sub.user_id|get_user_name}</td>
                <td>{$sub.status|get_status_txt}</td>
                <td>{$sub.create_time|get_date}</td>
                <td>{$sub.update_time|get_date}</td>
            </tr>
            </foreach>
        </tbody>
    </table>

    <include file='$str_page_html' />
</div>
